<?php
/* @var $this SitemapController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Sitemap',
);

$this->menu=array(
	array('label'=>'Add Page', 'url'=>array('create')),
	array('label'=>'Manage Sitemap', 'url'=>array('admin')),
);
?>

<h1>Sitemap</h1>

<?php 
$this->widget('CTreeView',array(
        'data'=>$dataTree,
        'animated'=>'fast', //quick animation
        'collapsed'=>'false',//remember must giving quote for boolean value in here
        'htmlOptions'=>array(
                'class'=>'treeview-red',//there are some classes that ready to use
        ),
));
?>
